﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himall.Entity.Config
{
   public class ProductDescriptionInfoConfig : EntityTypeConfiguration<ProductDescriptionInfo>
    {
        public ProductDescriptionInfoConfig()
        {
            ToTable("Himall_ProductDescriptions");
            Property(item => item.Meta_Description).HasColumnType("varchar").HasMaxLength(1000);
            Property(item => item.Meta_Keywords).HasColumnType("varchar").HasMaxLength(1000);
            Property(item => item.Meta_Title).HasColumnType("varchar").HasMaxLength(1000);
            Property(item => item.AuditReason).HasColumnType("varchar").HasMaxLength(1000);
            Property(item => item.MobileDescription).HasColumnType("text");
            Property(item => item.Description).HasColumnType("text");         
          
        }
    }
}
